﻿@model WeddingEventManagementApp.Models.LoginModel
@{
    ViewBag.Title = "Secure Login";
    Layout = "";
}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
    <title>@ViewBag.Title - Secured System</title>

    <link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
    <link href="@Url.Content("~/Content/foundation.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/icomoon/style.css")" rel="stylesheet" type="text/css" />
    <link href='http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800' rel='stylesheet' type='text/css'>

    @Styles.Render("~/Content/css")
    @Scripts.Render("~/bundles/modernizr")
</head>
<body id="login">

    <div class="row">
        <div class="five column centered text-center">
            <img src="~/Images/equisystems-lite.png" alt="Equisystems" style="max-width: 300px; margin: auto;"/>
            <section class="form" style="max-width: 300px; margin: auto; text-align: left;">
                <h4>Secure Log In</h4>
                <hr />
                @using (Html.BeginForm(new { ReturnUrl = ViewBag.ReturnUrl }))
                {
                    @Html.AntiForgeryToken()
                    @Html.ValidationSummary(true)

                    <ul class="no-bullet">
                        <li>
                            @Html.TextBoxFor(m => m.UserName, new { placeholder = "Username" })
                            @Html.ValidationMessageFor(m => m.UserName)
                        </li>
                        <li>
                            @Html.PasswordFor(m => m.Password, new { placeholder = "Password" })
                            @Html.ValidationMessageFor(m => m.Password)
                        </li>
                        <li>
                            @Html.CheckBoxFor(m => m.RememberMe)
                            @Html.LabelFor(m => m.RememberMe, new { @class = "checkbox inline" })
                        </li>
                    </ul>
                    <input type="submit" value="Log In" class="button expand radius" />
                }
            </section>
        </div>
    </div>

    @Scripts.Render("~/bundles/jquery")
    @Scripts.Render("~/bundles/jqueryval")
    @Scripts.Render("~/Scripts/foundation.min.js")
    @Scripts.Render("~/Scripts/jquery.timeago.js")
    @Scripts.Render("~/Scripts/app.js")
</body>
</html>
